package edu.sctu.practice.class02.liqiqi.assgin02;

/**
 * Created by uw on 2015/10/8.
 */
public class Main1 {
    public static void main(String[] args){

        Rational rational=new Rational(8.8,6.6);
        Rational rational1=new Rational(88,66);

        System.out.println(rational.add());
        System.out.println(rational.minus());
        System.out.println(rational.multiply());
        System.out.println(rational.divide());

        System.out.println(rational1.add());
        System.out.println(rational1.minus());
        System.out.println(rational1.multiply());
        System.out.println(rational1.divide());

    }
}
